.alert-mask {
	position: fixed;
	z-index: 1010;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: @maskBg;
}
.alert-dialog {
	position: fixed;
	z-index: 1013;
	width: 80vmin;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fafafc;
	border-radius: 8px;
	line-height: 24px;
	text-align: center;
}

#alertDialogBox .alert-mask {
	z-index: 1005;
}
#alertDialogBox .alert-dialog {
	z-index: 1008;
}

.alert-dialog-hd {
	padding: 15px 15px 5px;
}

.alert-dialog-title {
	font-weight: 500;
	font-size: @l2;
}

.alert-dialog-bd {
	padding: 5px 15px;
	font-size: @l3;
	max-height: 40vh;
	color: @txtColor;
	overflow-y: auto;

	.item {
		padding: 5px 0;
	}
}
.alert-dialog-ft {
	position: relative;
	line-height: 44px;
	margin-top: 10px;
	font-size: @l2;
	.flex-wrap;

	.alert-btn-dialog {
		display: block;
		.flex-item;
		text-decoration: none;
		text-align: center;

		line-height: 42px;
		font-size: @l3;
		position: relative;
		border: 0;
		outline: 0;
	}

	&:after {
		content: ' ';
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 1px;
		border-top: 1px solid @borderColorDark;
		transform-origin: 0 0;
		transform: scaleY(0.5);
	}
}

.alert-btn-dialog {
	position: relative;
	background: transparent;

	&.default {
		color: @linkColor;
	}
	&.primary {
		color: @linkColorActive;
	}

	&:first-child:after {
		display: none;
	}
	&:after {
		content: ' ';
		position: absolute;
		left: 0;
		top: 0;
		width: 1px;
		height: 100%;
		border-left: 1px solid @borderColorDark;
		transform-origin: 0 0;
		transform: scaleX(0.5);
	}
}

#alert-toast {
	.filter-blur;
	.box-shadow;
	background: rgba(100, 100, 100, 0.6);
	font-size: @l3;
	line-height: 1.2em;
	text-align: center;
	padding: 5px;
	color: #fff;
	position: absolute;
	top: 20vh;
	left: 50%;
	width: 60vmin;
	margin-left: -30vmin;
	z-index: 1010;
	border-radius: 5px;
	display: none;
}

#input-tip {
	.filter-blur;
	.box-shadow;
	border-radius: 3px;
	background: #fff;
	position: absolute;
	display: none;
	overflow: hidden;
	margin: 0;
	user-select: none;
	list-style-type: none;
	z-index: 10000;
	padding: 0 5px;

	&.open {
		display: flex;
	}

	.item {
		padding: 0 10px;
		line-height: 50px;
		height: 50px;
		overflow: hidden;
		font-size: @l3;
		font-weight: bold;
	}
}

@media screen and (min-width: 1024px) {
	.alert-dialog {
		width: 35%;
	}
}
